package com.zhuliwei.entity;

public class Stock {
        private String goodsId; // 库存对应的商品
        private int layer;      // 库存对应的层架
        private int num;        // 库存数量

        public Stock(String goodsId, int layer, int num) {
            this.goodsId = goodsId;
            this.layer = layer;
            this.num = num;
        }

        public String getGoodsId() {
            return goodsId;
        }

        public int getLayer() {
            return layer;
        }

        public int getNum() {
            return num;
        }
    }